package com.satan.fmmall.service;

import com.satan.fmmall.entity.Orders;
import com.satan.fmmall.vo.ResultVo;

public interface OrderService {
    public ResultVo addOrder(String cartIds, Orders orders) throws Exception;
    public int updateOrderStatus(String orderId,String status) throws Exception;
    public ResultVo getOrderById(String orderId) throws Exception;
    public void closeOrder(String orderId) throws Exception;
     public ResultVo listOrders(String userId,String status,Integer pageNum,Integer pageSize);

    public void deleteOrderByOrderId(String orderId) throws Exception;
}
